home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmStringLineCount.z / XmStringLineCount
Encoding:
Text File  |  2003-11-18  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggLLLLiiiinnnneeeeCCCCoooouuuunnnntttt((((3333XXXX))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV     XXXXmmmmSSSSttttrrrriiiinnnnggggLLLLiiiinnnneeeeCCCCoooouuuunnnntttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_S_t_r_i_n_g_L_i_n_e_C_o_u_n_t - A    compound string    function that returns
  10.       the number of    separators plus    one in the provided compound
  11.       string
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/Xm.h>
  15.  
  16.       int XmStringLineCount    (ssssttttrrrriiiinnnngggg)
  17.            _X_m_S_t_r_i_n_g     ssssttttrrrriiiinnnngggg;
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.       _X_m_S_t_r_i_n_g_L_i_n_e_C_o_u_n_t returns the    number of separators plus one
  21.       in the provided compound string.  In effect, it counts the
  22.       lines    of text.
  23.  
  24.       ssssttttrrrriiiinnnngggg
  25.            Specifies the string.
  26.  
  27.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  28.       Returns the number of    lines in the compound string
  29.  
  30.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  31.       _X_m_S_t_r_i_n_g_C_r_e_a_t_e(_3_X).
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.